import { RouterModule } from '@angular/router';
import { AppComponent } from './app.component';

const appRoutes=[
	
	{
		path:'zz',
		component:AppComponent
	},
	
	{ path: 'about', loadChildren: 'es6-promise!./+about/about.module#AboutModule' }
	// ,
	// {
	// 	path:'**',//fallback router must in the last
	// 	component:AppComponent
	// }
];
export default RouterModule.forRoot(appRoutes);